package com.bcx.crm.mapper.templateTestMapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by ys on 2018/1/16.
 */
@Mapper
public interface InsertTemplateMapper {
    int insertTemplateByMap(@Param("map") Map<String,Object> map);
    int insertTemplate1();//mapper下的接口不可以重载，因为会生成相同的id，而xml有且只有一个
    int insertTemplate1(Object map);
    int insertTemplateRowsByList(@Param("list")List<Map<String,Object>> list);
    int insertTemplateRowsBySelect(@Param("hashmap")Map<String,Object> list);
}
